Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Choice class for possible values of hyperparameter #325

Merged
merged 2 commits into from
May 26, 2023

Conversation

lars-reimann
Copy link
Member

Summary of Changes

Add a class to represent possible choices for the value of a hyperparameter. This is in preparation for #264.

@lars-reimann
Copy link
Member Author

lars-reimann commented May 26, 2023

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 4 0 0 0.56s
✅ PYTHON mypy 4 0 1.36s
✅ PYTHON ruff 4 0 0 0.04s
✅ REPOSITORY git_diff yes no 0.03s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@codecov
Copy link

codecov bot commented May 26, 2023

Codecov Report

Merging #325 (1c200e9) into main (ca046c4) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #325   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           44        46    +2     
  Lines         1975      1990   +15     
=========================================
+ Hits          1975      1990   +15     
Impacted Files Coverage Δ
src/safeds/ml/hyperparameters/__init__.py 100.00% <100.00%> (ø)
src/safeds/ml/hyperparameters/_choice.py 100.00% <100.00%> (ø)

@lars-reimann lars-reimann force-pushed the hyperparameter_choice branch from 347597d to fa6f9bd Compare May 26, 2023 09:56
@lars-reimann lars-reimann marked this pull request as ready for review May 26, 2023 10:46
@lars-reimann lars-reimann requested a review from a team as a code owner May 26, 2023 10:46
@lars-reimann lars-reimann merged commit d511c3e into main May 26, 2023
@lars-reimann lars-reimann deleted the hyperparameter_choice branch May 26, 2023 10:46
lars-reimann pushed a commit that referenced this pull request Jun 1, 2023
## [0.13.0](v0.12.0...v0.13.0) (2023-06-01)

### Features

* add `Choice` class for possible values of hyperparameter ([#325](#325)) ([d511c3e](d511c3e)), closes [#264](#264)
* Add `RangeScaler` transformer ([#310](#310)) ([f687840](f687840)), closes [#141](#141)
* Add methods that tell which columns would be affected by a transformer ([#304](#304)) ([3933b45](3933b45)), closes [#190](#190)
* Getters for hyperparameters of Regression and Classification models ([#306](#306)) ([5c7a662](5c7a662)), closes [#260](#260)
* improve error handling of table ([#308](#308)) ([ef87cc4](ef87cc4)), closes [#147](#147)
* Remove warnings thrown in new `Transformer` methods ([#324](#324)) ([ca046c4](ca046c4)), closes [#323](#323)
@lars-reimann
Copy link
Member Author

🎉 This PR is included in version 0.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Included in a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant